package service;

import model.Car;
import model.Customer;

public class DeliveryService {//配送服务
    public static double TotalPrice(Car car, Customer customer, int day) {
        return car.TotalPrice(day) + (customer.isIsMember() ? 0 : 100);//非会员用户需支付100元上门取送服务费
    }
}
